package shuiguo;

public class XiaoShouBean  {
	private String shuiGuoName;
	private int sex;
	private int number ;
	private double danJia ;
	private double xiaoShouMoney ;
	private String xiaoShouTime ;
	
	public String getXiaoShouTime() {
		return xiaoShouTime;
	}
	public void setXiaoShouTime(String xiaoShouTime) {
		this.xiaoShouTime = xiaoShouTime;
	}
	public String getShuiGuoName() {
		return shuiGuoName;
	}
	public void setShuiGuoName(String shuiGuoName) {
		this.shuiGuoName = shuiGuoName;
	}
	public int getSex() {
		return sex;
	}
	public void setSex(int sex) {
		this.sex = sex;
	}
	public int getNumber() {
		return number;
	}
	public void setNumber(int number) {
		this.number = number;
	}
	public double getDanJia() {
		return danJia;
	}
	public void setDanJia(double danJia) {
		this.danJia = danJia;
	}
	public double getXiaoShouMoney() {
		return xiaoShouMoney;
	}
	public void setXiaoShouMoney(double xiaoShouMoney) {
		this.xiaoShouMoney = xiaoShouMoney;
	}
	@Override
	public String toString() {
		String xingBie="男";
		if(sex==1) {
			xingBie="女";
		}
		return "水果种类"+" = "+shuiGuoName+" 顾客性别"+
	" = "+xingBie+" 数量"+" = "+number+" 单价"
	+" = "+danJia+" 销售金额"+" = "+xiaoShouMoney+" 销售时间"+" = "+xiaoShouTime;
	}
	
}
